package com.itheima.mapper;

import com.itheima.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    //根据邮箱和密码查询用户
    User selectByemailPwd(@Param("e") String email, @Param("p")String password);
    //查询用户
    List<User> findAll();
}
